package com.sp.system.user.feign;


import com.ananjt.system.vo.UserRoleVo;
import com.sp.system.user.service.SpUserService;
import org.springframework.stereotype.Component;

@Component
public class SpUserFallBack implements SpUserService {

    @Override
    public UserRoleVo getSystemUserByLoginName(String loginName) {
//        ContentResult result = new ContentResult();
//        //服务降级处理
//        List<String> list = new ArrayList<String>();
//        list.add("链接超时...");
//        result.setMessage("链接超时...");
//        result.setStatus(502);
        return null;
    }
}
